<%
for(i in 0..500){

   println """					<button onclick="function${i}();">按钮${i}</button>""";
}

for(i in 0..500){
  %>
     function function${i}(){
			 console.log('invoke function${i}');
      };
<%}


%>